import { request } from "@/utils/http";

export  const requestCode= (phone)=>{
    return request.get(`/api/user/passport/sendCode/${phone}`)
}

export const requestRegister=(registerInfo)=>{
    return request.post("/api/user/passport/register",registerInfo)
}